package com.adcc.swingui.demo.toolbar;

import java.awt.Container;

import javax.swing.JComboBox;
import javax.swing.JComponent;

import com.adcc.swingui.base.DefaultToolBar;

/**
 * 雷达图时间
 * 
 * @author charlie
 * 
 */
public class RadarTimeToolBut extends DefaultToolBar {

	private JComboBox but;

	public RadarTimeToolBut(Container container) {
		super(container);
	}

	@Override
	protected JComponent build() {
		but  = createComboBox("2013-05-30 00:20");
		but.addItem("2013-05-30 00:30");
		but.addItem("2013-05-30 00:40");
		but.addItem("2013-05-30 00:50");
		but.addItem("2013-05-30 01:00");
		but.setEditable(false);
		but.setToolTipText("定位世界");
		return but;
	}

	@Override
	protected void addMouseListener() {
		
	}

	@Override
	protected void i18n() {
		// TODO Auto-generated method stub

	}

}
